body {
    line-height: 1.15;
    display: flex;
    flex-direction: column;
}

footer {
    width: 100%;

}



header {
    width: 100%;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    &::after {
        content: "";
        display: block;
        height: 0;
        width: 90%;
        border-bottom: 1px solid rgba(221, 221, 221, 1);
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50% 0);
    }

    ul {
        width: 90%;
        display: flex;
        justify-content: space-between;

        li {
            width: 100px;
            text-align: center;
            position: relative;


        }

        li.active {
            color: rgba(66, 148, 255, 1);
            font-weight: 600;

            &::after {
                content: "";
                display: block;
                border-bottom: 3px solid solid rgba(170, 217, 247, 1);
                width: 54px;
                position: absolute;
                left: 50%;
                bottom: -17px;
                transform: translate(-50% 0);
            }
        }


    }
}

main {
    flex: 1;
    overflow: scroll;

    .run {
        height: 100%;
        // display: none;

        nav {
            width: 90%;
            margin: 0 auto;
            margin-bottom: 10px;

            h3 {
                color: rgba(51, 51, 51, 1);
                font-size: 16px;
                margin: 15px 0 7px 0;
            }

            p {
                color: rgba(51, 51, 51, 1);
                font-size: 16px;

                span {
                    color: rgba(66, 148, 255, 1);
                    font-size: 48px;
                }
            }
        }

        aside {
            .img {
                width: 100%;
                height: 485px;
                background-color: #ccc;
                position: relative;

                ul:nth-of-type(1) {
                    display: flex;
                    justify-content: space-around;
                    padding-top: 20px;

                    li {
                        width: 100px;
                        height: 40px;
                        line-height: 40px;
                        border-radius: 20px;
                        background-color: rgba(156, 188, 226, 1);

                        &.active {
                            background-color: rgba(66, 148, 255, 1);
                            color: rgba(255, 255, 255, 1);
                        }

                        text-align: center;
                    }
                }

                a {
                    display: block;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 191px;
                    height: 191px;
                    line-height: 191px;
                    opacity: 0.51;
                    background-color: rgba(66, 148, 255, 1);
                    text-align: center;

                    span {
                        color: rgba(21, 146, 204, 1);
                        opacity: 0.92;
                    }

                    font-size: 90px;
                    border-radius: 50%;
                }

                ul:nth-of-type(2) {
                    width: 100%;
                    display: flex;
                    justify-content: space-around;
                    position: absolute;
                    left: 0;
                    bottom: 20px;

                    li:nth-of-type(1),
                    li:nth-of-type(3) {
                        width: 50px;
                        height: 50px;
                        line-height: 50px;
                        background-color: rgba(255, 255, 255, 1);
                        text-align: center;
                        box-shadow: 0px 0px 11px 0px rgba(0, 0, 0, 0.4);
                        border-radius: 50%;
                    }

                    li:nth-of-type(2) {
                        width: 121px;
                        height: 40px;
                        line-height: 40px;
                        border-radius: 20px 20px 20px 20px;
                        background-color: rgba(66, 148, 255, 1);
                        text-align: center;
                    }
                }
            }

            section {
                display: flex;
                justify-content: space-between;
                // position: relative;
                div {
                   
                    background-color: #fff;
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-evenly;

                    h2 {
                        color: rgba(51, 51, 51, 1);
                        font-size: 18px;
                        font-weight: 600;
                    }

                    p {
                        color: rgba(154, 154, 154, 1);
                        font-size: 14px;
                    }
                   
                }
                span{
                    display: block;
                    width: 60px;
                    height: 64px;
                    font-size: 50px;
                    // position: absolute;
                    // right: 0;
                    // top: 50%;
                }
            }
        }
    }

    .cycling {
        height: 100%;
        display: none;
        nav {
            width: 90%;
            margin: 0 auto;
            margin-bottom: 10px;

            h3 {
                color: rgba(51, 51, 51, 1);
                font-size: 16px;
                margin: 15px 0 7px 0;
            }

            p {
                color: rgba(51, 51, 51, 1);
                font-size: 16px;

                span {
                    color: rgba(66, 148, 255, 1);
                    font-size: 48px;
                }
            }
        }

        aside {
            .img {
                width: 100%;
                height: 485px;
                background-color: #ccc;
                position: relative;

                // ul:nth-of-type(1) {
                //     display: flex;
                //     justify-content: space-around;
                //     padding-top: 20px;

                //     li {
                //         width: 100px;
                //         height: 40px;
                //         line-height: 40px;
                //         border-radius: 20px;
                //         background-color: rgba(156, 188, 226, 1);

                //         &.active {
                //             background-color: rgba(66, 148, 255, 1);
                //             color: rgba(255, 255, 255, 1);
                //         }

                //         text-align: center;
                //     }
                // }

                a {
                    display: block;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 191px;
                    height: 191px;
                    line-height: 191px;
                    opacity: 0.51;
                    background-color: rgba(66, 148, 255, 1);
                    text-align: center;

                    span {
                        color: rgba(21, 146, 204, 1);
                        opacity: 0.92;
                    }

                    font-size: 90px;
                    border-radius: 50%;
                }

                ul {
                    width: 100%;
                    display: flex;
                    justify-content: space-around;
                    position: absolute;
                    left: 0;
                    bottom: 20px;

                    li:nth-of-type(1),
                    li:nth-of-type(3) {
                        width: 50px;
                        height: 50px;
                        line-height: 50px;
                        background-color: rgba(255, 255, 255, 1);
                        text-align: center;
                        box-shadow: 0px 0px 11px 0px rgba(0, 0, 0, 0.4);
                        border-radius: 50%;
                    }

                    // li:nth-of-type(2) {
                    //     width: 121px;
                    //     height: 40px;
                    //     line-height: 40px;
                    //     border-radius: 20px 20px 20px 20px;
                    //     background-color: rgba(66, 148, 255, 1);
                    //     text-align: center;
                    // }
                }
            }

            section {
                display: flex;
                justify-content: space-between;
                // position: relative;
                div {
                   
                    background-color: #fff;
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-evenly;

                    h2 {
                        color: rgba(51, 51, 51, 1);
                        font-size: 18px;
                        font-weight: 600;
                    }

                    p {
                        color: rgba(154, 154, 154, 1);
                        font-size: 14px;
                    }
                   
                }
                span{
                    display: block;
                    width: 60px;
                    height: 64px;
                    font-size: 50px;
                    // position: absolute;
                    // right: 0;
                    // top: 50%;
                }
            }
        }
    }

    .training {
        height: 100%;
        display: none;

        h2 {
            color: rgba(16, 16, 16, 1);
            font-size: 18px;
            margin: 15px 0 10px 15px;
        }

        #ol {
            li {
                width: 90%;
                border-radius: 15px;
                box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
                margin: 0 auto;

                img {
                    width: 100%;
                    border-radius: 15px 15px 0 0;
                }

                aside {
                    padding: 0 15px;

                    h2 {
                        color: rgba(16, 16, 16, 1);
                        font-size: 16px;
                        margin: 5px 0;
                    }

                    p {
                        color: rgba(154, 154, 154, 1);
                        font-size: 12px;
                    }

                    padding-bottom: 11px;
                }
            }
        }

        #ul {
            li {
                width: 90%;
                padding-top: 56px;
                margin: 10px auto;
                border-radius: 15px;
                box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);

                img {
                    width: 100%;
                }

                h2 {
                    color: rgba(16, 16, 16, 1);
                    font-size: 20px;
                    margin-bottom: 10px;
                    color: crimson;
                }

                p {
                    color: rgba(16, 16, 16, 1);
                    font-size: 14px;
                    padding-bottom: 20px;
                    color: crimson;
                }
            }
        }
    }
}